<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
SimplifyVisitor (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="SimplifyVisitor (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/PrerenderVisitorFactory.html" title="class in com.google.template.soy.sharedpasses.opti"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SimplifyVisitor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.template.soy.sharedpasses.opti</FONT>
<BR>
Class SimplifyVisitor</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html" title="class in com.google.template.soy.basetree">com.google.template.soy.basetree.AbstractNodeVisitor</A>&lt;<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>,R&gt;
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">com.google.template.soy.soytree.AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;
          <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.template.soy.sharedpasses.opti.SimplifyVisitor</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/google/template/soy/basetree/NodeVisitor.html" title="interface in com.google.template.soy.basetree">NodeVisitor</A>&lt;<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>SimplifyVisitor</B><DT>extends <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</DL>
</PRE>

<P>
Visitor for simplifying subtrees based on constant values known at compile time.

 <p> Important: Do not use outside of Soy code (treat as superpackage-private).

 <p> <A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#exec(com.google.template.soy.soytree.SoyNode)"><CODE>exec(com.google.template.soy.soytree.SoyNode)</CODE></A> should be called on a full Soy tree.
<P>

<P>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#SimplifyVisitor(com.google.template.soy.sharedpasses.opti.SimplifyExprVisitor, com.google.template.soy.sharedpasses.opti.PrerenderVisitorFactory)">SimplifyVisitor</A></B>(com.google.template.soy.sharedpasses.opti.SimplifyExprVisitor&nbsp;simplifyExprVisitor,
                <A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/PrerenderVisitorFactory.html" title="class in com.google.template.soy.sharedpasses.opti">PrerenderVisitorFactory</A>&nbsp;prerenderVisitorFactory)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#exec(com.google.template.soy.soytree.SoyNode)">exec</A></B>(<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the function defined by this visitor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#visitIfNode(com.google.template.soy.soytree.IfNode)">visitIfNode</A></B>(<A HREF="../../../../../../com/google/template/soy/soytree/IfNode.html" title="class in com.google.template.soy.soytree">IfNode</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#visitPrintNode(com.google.template.soy.soytree.PrintNode)">visitPrintNode</A></B>(<A HREF="../../../../../../com/google/template/soy/soytree/PrintNode.html" title="class in com.google.template.soy.soytree">PrintNode</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#visitSoyNode(com.google.template.soy.soytree.SoyNode)">visitSoyNode</A></B>(<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html#visitSwitchNode(com.google.template.soy.soytree.SwitchNode)">visitSwitchNode</A></B>(<A HREF="../../../../../../com/google/template/soy/soytree/SwitchNode.html" title="class in com.google.template.soy.soytree">SwitchNode</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.google.template.soy.soytree.AbstractSoyNodeVisitor"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.google.template.soy.soytree.<A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visit(com.google.template.soy.soytree.SoyNode)">visit</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallBasicNode(com.google.template.soy.soytree.CallBasicNode)">visitCallBasicNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallDelegateNode(com.google.template.soy.soytree.CallDelegateNode)">visitCallDelegateNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallNode(com.google.template.soy.soytree.CallNode)">visitCallNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallParamContentNode(com.google.template.soy.soytree.CallParamContentNode)">visitCallParamContentNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallParamNode(com.google.template.soy.soytree.CallParamNode)">visitCallParamNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCallParamValueNode(com.google.template.soy.soytree.CallParamValueNode)">visitCallParamValueNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitChildren(com.google.template.soy.soytree.SoyNode.ParentSoyNode)">visitChildren</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitChildrenAllowingConcurrentModification(com.google.template.soy.soytree.SoyNode.ParentSoyNode)">visitChildrenAllowingConcurrentModification</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitCssNode(com.google.template.soy.soytree.CssNode)">visitCssNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitDebuggerNode(com.google.template.soy.soytree.DebuggerNode)">visitDebuggerNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitForeachIfemptyNode(com.google.template.soy.soytree.ForeachIfemptyNode)">visitForeachIfemptyNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitForeachNode(com.google.template.soy.soytree.ForeachNode)">visitForeachNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitForeachNonemptyNode(com.google.template.soy.soytree.ForeachNonemptyNode)">visitForeachNonemptyNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitForNode(com.google.template.soy.soytree.ForNode)">visitForNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitGoogMsgNode(com.google.template.soy.soytree.jssrc.GoogMsgNode)">visitGoogMsgNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitGoogMsgRefNode(com.google.template.soy.soytree.jssrc.GoogMsgRefNode)">visitGoogMsgRefNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitIfCondNode(com.google.template.soy.soytree.IfCondNode)">visitIfCondNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitIfElseNode(com.google.template.soy.soytree.IfElseNode)">visitIfElseNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitLetContentNode(com.google.template.soy.soytree.LetContentNode)">visitLetContentNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitLetNode(com.google.template.soy.soytree.LetNode)">visitLetNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitLetValueNode(com.google.template.soy.soytree.LetValueNode)">visitLetValueNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitLogNode(com.google.template.soy.soytree.LogNode)">visitLogNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitLoopNode(com.google.template.soy.soytree.SoyNode.LoopNode)">visitLoopNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgHtmlTagNode(com.google.template.soy.soytree.MsgHtmlTagNode)">visitMsgHtmlTagNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgNode(com.google.template.soy.soytree.MsgNode)">visitMsgNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgPlaceholderNode(com.google.template.soy.soytree.MsgPlaceholderNode)">visitMsgPlaceholderNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgPluralCaseNode(com.google.template.soy.soytree.MsgPluralCaseNode)">visitMsgPluralCaseNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgPluralDefaultNode(com.google.template.soy.soytree.MsgPluralDefaultNode)">visitMsgPluralDefaultNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgPluralNode(com.google.template.soy.soytree.MsgPluralNode)">visitMsgPluralNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgPluralRemainderNode(com.google.template.soy.soytree.MsgPluralRemainderNode)">visitMsgPluralRemainderNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgSelectCaseNode(com.google.template.soy.soytree.MsgSelectCaseNode)">visitMsgSelectCaseNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgSelectDefaultNode(com.google.template.soy.soytree.MsgSelectDefaultNode)">visitMsgSelectDefaultNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitMsgSelectNode(com.google.template.soy.soytree.MsgSelectNode)">visitMsgSelectNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitPrintDirectiveNode(com.google.template.soy.soytree.PrintDirectiveNode)">visitPrintDirectiveNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitRawTextNode(com.google.template.soy.soytree.RawTextNode)">visitRawTextNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSoyFileNode(com.google.template.soy.soytree.SoyFileNode)">visitSoyFileNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSoyFileSetNode(com.google.template.soy.soytree.SoyFileSetNode)">visitSoyFileSetNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSwitchCaseNode(com.google.template.soy.soytree.SwitchCaseNode)">visitSwitchCaseNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSwitchDefaultNode(com.google.template.soy.soytree.SwitchDefaultNode)">visitSwitchDefaultNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitTemplateBasicNode(com.google.template.soy.soytree.TemplateBasicNode)">visitTemplateBasicNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitTemplateDelegateNode(com.google.template.soy.soytree.TemplateDelegateNode)">visitTemplateDelegateNode</A>, <A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitTemplateNode(com.google.template.soy.soytree.TemplateNode)">visitTemplateNode</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.google.template.soy.basetree.AbstractNodeVisitor"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.google.template.soy.basetree.<A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html" title="class in com.google.template.soy.basetree">AbstractNodeVisitor</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html#visitChildren(com.google.template.soy.basetree.ParentNode)">visitChildren</A>, <A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html#visitChildrenAllowingConcurrentModification(com.google.template.soy.basetree.ParentNode)">visitChildrenAllowingConcurrentModification</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="SimplifyVisitor(com.google.template.soy.sharedpasses.opti.SimplifyExprVisitor, com.google.template.soy.sharedpasses.opti.PrerenderVisitorFactory)"><!-- --></A><H3>
SimplifyVisitor</H3>
<PRE>
<FONT SIZE="-1">@Inject
</FONT>public <B>SimplifyVisitor</B>(com.google.template.soy.sharedpasses.opti.SimplifyExprVisitor&nbsp;simplifyExprVisitor,
                              <A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/PrerenderVisitorFactory.html" title="class in com.google.template.soy.sharedpasses.opti">PrerenderVisitorFactory</A>&nbsp;prerenderVisitorFactory)</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="exec(com.google.template.soy.soytree.SoyNode)"><!-- --></A><H3>
exec</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A> <B>exec</B>(<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>&nbsp;node)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/google/template/soy/basetree/NodeVisitor.html#exec(N)">NodeVisitor</A></CODE></B></DD>
<DD>Executes the function defined by this visitor.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/basetree/NodeVisitor.html#exec(N)">exec</A></CODE> in interface <CODE><A HREF="../../../../../../com/google/template/soy/basetree/NodeVisitor.html" title="interface in com.google.template.soy.basetree">NodeVisitor</A>&lt;<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html#exec(N)">exec</A></CODE> in class <CODE><A HREF="../../../../../../com/google/template/soy/basetree/AbstractNodeVisitor.html" title="class in com.google.template.soy.basetree">AbstractNodeVisitor</A>&lt;<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - The node to execute the function on.</DL>
</DD>
</DL>
<HR>

<A NAME="visitPrintNode(com.google.template.soy.soytree.PrintNode)"><!-- --></A><H3>
visitPrintNode</H3>
<PRE>
protected void <B>visitPrintNode</B>(<A HREF="../../../../../../com/google/template/soy/soytree/PrintNode.html" title="class in com.google.template.soy.soytree">PrintNode</A>&nbsp;node)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitPrintNode(com.google.template.soy.soytree.PrintNode)">visitPrintNode</A></CODE> in class <CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="visitIfNode(com.google.template.soy.soytree.IfNode)"><!-- --></A><H3>
visitIfNode</H3>
<PRE>
protected void <B>visitIfNode</B>(<A HREF="../../../../../../com/google/template/soy/soytree/IfNode.html" title="class in com.google.template.soy.soytree">IfNode</A>&nbsp;node)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitIfNode(com.google.template.soy.soytree.IfNode)">visitIfNode</A></CODE> in class <CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="visitSwitchNode(com.google.template.soy.soytree.SwitchNode)"><!-- --></A><H3>
visitSwitchNode</H3>
<PRE>
protected void <B>visitSwitchNode</B>(<A HREF="../../../../../../com/google/template/soy/soytree/SwitchNode.html" title="class in com.google.template.soy.soytree">SwitchNode</A>&nbsp;node)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSwitchNode(com.google.template.soy.soytree.SwitchNode)">visitSwitchNode</A></CODE> in class <CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="visitSoyNode(com.google.template.soy.soytree.SoyNode)"><!-- --></A><H3>
visitSoyNode</H3>
<PRE>
protected void <B>visitSoyNode</B>(<A HREF="../../../../../../com/google/template/soy/soytree/SoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode</A>&nbsp;node)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html#visitSoyNode(com.google.template.soy.soytree.SoyNode)">visitSoyNode</A></CODE> in class <CODE><A HREF="../../../../../../com/google/template/soy/soytree/AbstractSoyNodeVisitor.html" title="class in com.google.template.soy.soytree">AbstractSoyNodeVisitor</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the visited node.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/google/template/soy/sharedpasses/opti/PrerenderVisitorFactory.html" title="class in com.google.template.soy.sharedpasses.opti"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?com/google/template/soy/sharedpasses/opti/SimplifyVisitor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SimplifyVisitor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
